Optimal. Leaf size=119 \[ \frac {1}{128} \left (199-74 x^2\right ) \sqrt {3+5 x^2+x^4}+\frac {1}{48} \left (61+18 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+\frac {2401}{256} \tanh ^{-1}\left (\frac {5+2 x^2}{2 \sqrt {3+5 x^2+x^4}}\right )-3 \sqrt {3} \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {1265, 828, 857,
635, 212, 738} \begin {gather*} \frac {1}{48} \left (18 x^2+61\right ) \left (x^4+5 x^2+3\right )^{3/2}+\frac {1}{128} \left (199-74 x^2\right ) \sqrt {x^4+5 x^2+3}+\frac {2401}{256} \tanh ^{-1}\left (\frac {2 x^2+5}{2 \sqrt {x^4+5 x^2+3}}\right )-3 \sqrt {3} \tanh ^{-1}\left (\frac {5 x^2+6}{2 \sqrt {3} \sqrt {x^4+5 x^2+3}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 635
Rule 738
Rule 828
Rule 857
Rule 1265
Rubi steps
\begin {align*} \int \frac {\left (2+3 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{x} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(2+3 x) \left (3+5 x+x^2\right )^{3/2}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{48} \left (61+18 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac {1}{16} \text {Subst}\left (\int \frac {\left (-48+\frac {37 x}{2}\right ) \sqrt {3+5 x+x^2}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{128} \left (199-74 x^2\right ) \sqrt {3+5 x^2+x^4}+\frac {1}{48} \left (61+18 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+\frac {1}{64} \text {Subst}\left (\int \frac {576+\frac {2401 x}{4}}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=\frac {1}{128} \left (199-74 x^2\right ) \sqrt {3+5 x^2+x^4}+\frac {1}{48} \left (61+18 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+9 \text {Subst}\left (\int \frac {1}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )+\frac {2401}{256} \text {Subst}\left (\int \frac {1}{\sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=\frac {1}{128} \left (199-74 x^2\right ) \sqrt {3+5 x^2+x^4}+\frac {1}{48} \left (61+18 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-18 \text {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {6+5 x^2}{\sqrt {3+5 x^2+x^4}}\right )+\frac {2401}{128} \text {Subst}\left (\int \frac {1}{4-x^2} \, dx,x,\frac {5+2 x^2}{\sqrt {3+5 x^2+x^4}}\right )\\ &=\frac {1}{128} \left (199-74 x^2\right ) \sqrt {3+5 x^2+x^4}+\frac {1}{48} \left (61+18 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+\frac {2401}{256} \tanh ^{-1}\left (\frac {5+2 x^2}{2 \sqrt {3+5 x^2+x^4}}\right )-3 \sqrt {3} \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 99, normalized size = 0.83 \begin {gather*} 6 \sqrt {3} \tanh ^{-1}\left (\frac {x^2-\sqrt {3+5 x^2+x^4}}{\sqrt {3}}\right )+\frac {1}{768} \left (2 \sqrt {3+5 x^2+x^4} \left (2061+2650 x^2+1208 x^4+144 x^6\right )-7203 \log \left (-5-2 x^2+2 \sqrt {3+5 x^2+x^4}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.25, size = 117, normalized size = 0.98
method | result | size |
trager | \(\left (\frac {3}{8} x^{6}+\frac {151}{48} x^{4}+\frac {1325}{192} x^{2}+\frac {687}{128}\right ) \sqrt {x^{4}+5 x^{2}+3}+3 \RootOf \left (\textit {\_Z}^{2}-3\right ) \ln \left (-\frac {-5 \RootOf \left (\textit {\_Z}^{2}-3\right ) x^{2}+6 \sqrt {x^{4}+5 x^{2}+3}-6 \RootOf \left (\textit {\_Z}^{2}-3\right )}{x^{2}}\right )+\frac {2401 \ln \left (-2 x^{2}-2 \sqrt {x^{4}+5 x^{2}+3}-5\right )}{256}\) | \(104\) |
default | \(\frac {3 x^{6} \sqrt {x^{4}+5 x^{2}+3}}{8}+\frac {151 x^{4} \sqrt {x^{4}+5 x^{2}+3}}{48}+\frac {1325 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{192}+\frac {687 \sqrt {x^{4}+5 x^{2}+3}}{128}+\frac {2401 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{256}-3 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}\) | \(117\) |
elliptic | \(\frac {3 x^{6} \sqrt {x^{4}+5 x^{2}+3}}{8}+\frac {151 x^{4} \sqrt {x^{4}+5 x^{2}+3}}{48}+\frac {1325 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{192}+\frac {687 \sqrt {x^{4}+5 x^{2}+3}}{128}+\frac {2401 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{256}-3 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}\) | \(117\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 120, normalized size = 1.01 \begin {gather*} \frac {3}{8} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}} x^{2} - \frac {37}{64} \, \sqrt {x^{4} + 5 \, x^{2} + 3} x^{2} + \frac {61}{48} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}} - 3 \, \sqrt {3} \log \left (\frac {2 \, \sqrt {3} \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2}} + \frac {6}{x^{2}} + 5\right ) + \frac {199}{128} \, \sqrt {x^{4} + 5 \, x^{2} + 3} + \frac {2401}{256} \, \log \left (2 \, x^{2} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 106, normalized size = 0.89 \begin {gather*} \frac {1}{384} \, {\left (144 \, x^{6} + 1208 \, x^{4} + 2650 \, x^{2} + 2061\right )} \sqrt {x^{4} + 5 \, x^{2} + 3} + 3 \, \sqrt {3} \log \left (\frac {25 \, x^{2} - 2 \, \sqrt {3} {\left (5 \, x^{2} + 6\right )} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (5 \, \sqrt {3} - 6\right )} + 30}{x^{2}}\right ) - \frac {2401}{256} \, \log \left (-2 \, x^{2} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} - 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (3 x^{2} + 2\right ) \left (x^{4} + 5 x^{2} + 3\right )^{\frac {3}{2}}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.29, size = 113, normalized size = 0.95 \begin {gather*} \frac {1}{384} \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (2 \, {\left (4 \, {\left (18 \, x^{2} + 151\right )} x^{2} + 1325\right )} x^{2} + 2061\right )} + 3 \, \sqrt {3} \log \left (\frac {x^{2} + \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2} - \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}\right ) - \frac {2401}{256} \, \log \left (2 \, x^{2} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (3\,x^2+2\right )\,{\left (x^4+5\,x^2+3\right )}^{3/2}}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________